package com.aids_malaria.http.response;

import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;
import android.support.annotation.NonNull;

import java.io.Serializable;

@Entity(tableName = "loginUserAuth")
public class LoginUserAuth implements Serializable{

    /**
     * func_code : 010101
     * func_name : 用户管理
     * insert : 1
     * update : 1
     * inq : 1
     * delete : 1
     * upload : 0
     * download : 0
     */

    @PrimaryKey
    @NonNull
    private String func_code;
    private String func_name;
    private int insert;
    private int update;
    private int inq;
    private int delete;
    private int upload;
    private int download;

    public String getFunc_code() {
        return func_code;
    }

    public void setFunc_code(String func_code) {
        this.func_code = func_code;
    }

    public String getFunc_name() {
        return func_name;
    }

    public void setFunc_name(String func_name) {
        this.func_name = func_name;
    }

    public int getInsert() {
        return insert;
    }

    public void setInsert(int insert) {
        this.insert = insert;
    }

    public int getUpdate() {
        return update;
    }

    public void setUpdate(int update) {
        this.update = update;
    }

    public int getInq() {
        return inq;
    }

    public void setInq(int inq) {
        this.inq = inq;
    }

    public int getDelete() {
        return delete;
    }

    public void setDelete(int delete) {
        this.delete = delete;
    }

    public int getUpload() {
        return upload;
    }

    public void setUpload(int upload) {
        this.upload = upload;
    }

    public int getDownload() {
        return download;
    }

    public void setDownload(int download) {
        this.download = download;
    }
}
